@import '@xyflow/react/dist/style.css';

:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: #213547;
  background-color: #ffffff;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
}

#root {
  width: 100%;
  height: 100vh;
}

.react-flow__node {
  border-radius: 4px;
  border: 1px solid #ddd;
  padding: 10px;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.react-flow__node.selected {
  border: 2px solid #1976d2;
  box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.2);
}

.react-flow__handle {
  width: 8px;
  height: 8px;
  background: #555;
  border: 2px solid white;
  transition: all 0.2s ease;
}

.react-flow__handle-top {
  top: -4px;
}

.react-flow__handle-bottom {
  bottom: -4px;
}

.react-flow__node.selected .react-flow__handle {
  width: 10px;
  height: 10px;
  background: #1976d2;
}

.react-flow__edge {
  transition: all 0.2s ease;
}

.react-flow__edge.selected {
  stroke: #1976d2;
  stroke-width: 3;
}

.react-flow__edge.selected .react-flow__edge-path {
  stroke: #1976d2;
  stroke-width: 3;
}

.react-flow__edge.selected .react-flow__edge-text {
  fill: #1976d2;
}

.react-flow__edge-path {
  stroke: #555;
  stroke-width: 2;
  transition: all 0.2s ease;
}

.react-flow__controls {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.react-flow__minimap {
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
} 